<?php
error_reporting(0);
include_once "check.php";
$isadmin=1; 
include_once '../comm/config.php';
include_once '../comm/checkpostandget.php';
$link = mysql_connect($dbserver, $dbuser, $dbpass);
if (!$link) {
	die(ERR_DB);
}
else
{
	mysql_select_db($dbname);
	mysql_query("set names utf8");	
	$sql = "delete from ".$BIAOTOU."shop where id='".$_GET["id"]."'";
	mysql_query($sql);
}
mysql_close($link);
echo "<script language=javascript>window.location='shoplist.php?keyword=".$_GET["keyword"]."'</script>";
?>